package utils;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-21
 * Time: 20:26
 */
public class ScannerSingleton {
    private static Scanner sc;

    private ScannerSingleton(Scanner sc) {
        ;
    }
    public static Scanner getScanner(){
        if(sc==null)
            sc=new Scanner(System.in);
        return sc;
    }
}
